package com.example.tingsugar.service;

import com.example.tingsugar.bean.PayItemRateBean;
import com.example.tingsugar.bean.PayRechargeRangeBean;
import com.example.tingsugar.bean.PayVipDurationRateBean;
import com.example.tingsugar.mapper.PayMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PayServiceImpl implements PayService{
    
    @Autowired
    PayMapper payMapper;
    @Override
    public List<PayItemRateBean> statsPayItem(Integer date) {
        return payMapper.statsPayItem(date);
    }
    
    @Override
    public List<PayVipDurationRateBean> statsVipDurationRate(Integer date) {
        return payMapper.statsVipDurationRate(date);
    }
    
    @Override
    public List<PayRechargeRangeBean> statsRechargeRangeRate(Integer date) {
        return payMapper.statsRechargeRangeRate(date);
    }
    
}
